package com.hooya.fa.eu.api.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2024/5/16
 * @Version 1.0.0
 */
@Data
public class DictVO {

    @NotNull(message = "id不能为空，请提供id")
    private Integer id;

    @NotBlank(message = "名字不能为空")
    private String name;

    @NotNull(message = "类型不能为空，请提供id")
    private Integer type;

    private String paramKey;

    private String paramValue;

    private Integer parentId;

    private Integer sort;

    private String desc;

    private Boolean isSystem;

    private List<DictVO> children;

}
